package com.etc.dao;

import com.etc.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface OrderDao {

    /**
     * 新增订单
     * @param order
     * @return
     * @author 赵伟伟
     */
    Orders addOrder(Orders order);


    /**
     * 查询所有订单信息
     * @return
     * @author 赵伟伟
     */
    List<Orders> queryAllOrders();
}
